import 'package:boss/color_constant.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class CustomDivider extends StatelessWidget {
  final double height;
  final EdgeInsets margin;
  final Color color;

  const CustomDivider({
    Key key,
    this.height,
    this.margin,
    this.color,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      margin: margin,
      color: color ?? ColorConstant.e6e6,
      height: height ?? 1.px,
    );
  }
}
